package dayu.service;

import dayu.pojo.User;

import java.util.Set;

/**
 * @author dayu
 * @create 2018/12/12 15:01
 * @Description
 */
public interface UserService {

    void regist(String loginName, String password);

    User findUserByLoginName(String loginName);

    Set<String> findRolesByLoginName(String loginName);

    Set<String> findPermissionsByLoginName(String loginName);
}
